//
//  PKConfigViewModel.swift
//  Panku
//
//  Created by mac on 2017/2/13.
//  Copyright © 2017年 Monster. All rights reserved.
//

import UIKit

class PKConfigViewModel: NSObject {
    
    var titles = [["账号与安全","推送消息","直播设置","黑名单"],["清除缓存"],["关于我们","客服与反馈","网络诊断"]]
    
    func numberOfSections() -> Int{
        return titles.count
    }
    
    func numberOfRowsInSection(section:Int) -> Int{
        return titles[section].count
    }
    
    func titleForIndexPath(indexPath:IndexPath) -> String{
        return titles[indexPath.section][indexPath.row]
    }
    
    func viewModelForAccountSafetyController() -> PKAccountSafetyViewModel{
        return PKAccountSafetyViewModel()
    }
    
    func viewModelForLiveConfigController() -> PKLiveConfigViewModel{
        return PKLiveConfigViewModel()
    }
}


